package com.lqtech.lqmusic.entity;

import com.lqtech.lqmusic.enums.MusicStatus;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

@EqualsAndHashCode(callSuper = true)
@Entity
@Data
public class Music extends AbstractEntity {

    //歌曲名
    private String name;

    //歌曲上架状态
    @Enumerated(EnumType.STRING)
    private MusicStatus status;

    //歌曲简介
    private String description;

}
